package cn.com.surker.enums.material;

import cn.com.surker.enums.IDescription;

/**
 * @Author lucky
 * @create 2022年10月04 7:00
 * @desc 主材流程类型
 */
public enum MaterialEnum implements IDescription {

    MATERIAL(0,"主材"), TRANSPORT(1,"材料运输"),
    SALE(2, "材料销售");

    private final String description;

    private final Integer code;

    MaterialEnum(Integer code, String description) {
        this.description = description;
        this.code = code;
    }

    @Override
    public String getDescription() {
        return description;
    }

    public Integer getCode() {return code;}
}